package com.ruoyi.zhgd.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.zhgd.util.PageUtils;
import com.ruoyi.zhgd.domain.vo.GroutingRecordVo;
import com.ruoyi.zhgd.domain.bo.GroutingRecordBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 压浆记录Service接口
 *
 * @author zyb
 * @date 2023-09-11
 */
public interface IGroutingRecordService {

    /**
     * 查询压浆记录
     */
    GroutingRecordVo queryById(String id);

    /**
     * 查询压浆记录列表
     */
    TableDataInfo<GroutingRecordVo> queryPageList(GroutingRecordBo bo, PageQuery pageQuery);

    /**
     * 查询压浆记录列表
     */
    List<GroutingRecordVo> queryList(GroutingRecordBo bo);

    /**
     * 新增压浆记录
     */
    Boolean insertByBo(GroutingRecordBo bo);

    /**
     * 修改压浆记录
     */
    Boolean updateByBo(GroutingRecordBo bo);

    /**
     * 校验并批量删除压浆记录信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);

    PageUtils recordList(Page page, Map<String, Object> params);

    /**
     * 压浆报表基础信息
     * @param params
     * @return
     */
    Map<String, Object> listMap(Map<String, Object> params);
}
